package cn.jinjimi.framework.pay;

import android.app.Activity;
import android.content.pm.PackageManager;
import android.text.TextUtils;

import com.alipay.sdk.app.PayTask;
import com.alipay.sdk.util.H5PayResultModel;

import java.io.IOException;
import java.util.concurrent.Callable;

import bolts.Continuation;
import bolts.Task;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

/**
 * 第三方支付平台 支付宝支付
 */
public class AliPayTask extends AbstractPayTask {
    public static final int TYPE = 7;

    public AliPayTask(Activity context) {
        super(context);
    }

    @Override
    public String getName() {
        return "支付宝支付";
    }

    @Override
    public String getCode() {
        return "alipay";
    }

    @Override
    public void pay(PayOrder order) {

    }

    /**
     *
     * @param url
     */
    public void fetchPayUrlAndPay(String url) {

    }

}
